package day09.bean;

import java.io.Serializable;
import java.util.Arrays;

/**
 * 封装请求数据
 */
public class Request implements Serializable{

    private String className;
    private String method;
    private Class[] valueType;
    private Object[] value;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Class[] getValueType() {
        return valueType;
    }

    public void setValueType(Class[] valueType) {
        this.valueType = valueType;
    }

    public Object[] getValue() {
        return value;
    }

    public void setValue(Object[] value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Request{" +
                "className='" + className + '\'' +
                ", method='" + method + '\'' +
                ", valueType=" + Arrays.toString(valueType) +
                ", value=" + Arrays.toString(value) +
                '}';
    }
}
